package mysql

import "gorm.io/gorm"

type Position struct {
	gorm.Model
	Name       string  `gorm:"type:varchar(30);not null;comment:'职位名称'"`
	Types      string  `gorm:"type:varchar(20);not null;comment:'职位类别'"`
	Address    string  `gorm:"type:varchar(50);not null;comment:'工作地址'"`
	Price      float64 `gorm:"type:decimal(10,2);not null;comment:'薪资'"`
	Experience string  `gorm:"type:varchar(30);not null;comment:'工作经验'"`
	Require    string  `gorm:"type:varchar(30);not null;comment:'学历要求'"`
	Desc       string  `gorm:"type:varchar(30);not null;comment:'职位描述'"`
}
